package com.xuecheng.base.model.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @author: Hes
 * @description 响应结果模型类
 * @date: 2023/6/19 23:15
 */
@Data
@ToString
@AllArgsConstructor
public class PageResult<T> {
    //数据列表
    private List<T> items;
    //页码
    private long page;
    //每页记录数
    private long pageSize;
    //总数
    private long counts;

}
